package com.fjnu.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * @desc:
 * @author:
 * @date:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
//@Scope("singleton")
//@Scope("prototype")
//@Component
public class User {
    private String userId;

    private String username;

    private String password;

    private String salt;

    private String nickname;

    private String email;

    private String phone;

    private Long sex;

    private Long age;

    private String img;

    private Integer status;

    private Date createTime;

    private Date updateTime;

    private Date lastLoginTime;

    private List<Role> roles;


}
